<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Struct bmqt::HostHealthState</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="bdedox.css" rel="stylesheet" type="text/css"/>
    <style>
      div.hanging {
        padding-left: 0.75in;
        text-indent: -0.50in;
      }
      div.unhanging {
        text-indent:     0in;
      }
      a.glossary {
        font-weight: bold;
        font-style: italic;
      }
    </style>
</head>
<!--
<body onload='searchBox.OnSelectItem(0);'>
-->
<body>

<table border=2 cellspacing=0 cellpadding=0 align=center>
<tr>
 <td valign=top align=center>
 <p align=center><b><i>Quick Links:</i></b></p>
 </td>
 <td valign=top align=center>
 <p align=center>
<a class="qindex" href="group__bmqa.html" target="_blank">bmqa</a> | <a class="qindex" href="group__bmqpi.html" target="_blank">bmqpi</a> | <a class="qindex" href="group__bmqt.html" target="_blank">bmqt</a>
 </td>
 </tr>
 </table>

  </div>
<!-- Generated by Doxygen 1.7.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul class="tablist">
      <li><a href="components.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="components.html"><span>Components</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath">
    <ul>
      <li><a class="el" href="namespacebmqt.html">bmqt</a>      </li>
      <li><a class="el" href="structbmqt_1_1HostHealthState.html">bmqt::HostHealthState</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>bmqt::HostHealthState Struct Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="bmqt::HostHealthState" -->
<p><code>#include &lt;<a class="el" href="bmqt__hosthealthstate_8h_source.html">bmqt_hosthealthstate.h</a>&gt;</code></p>

<p><a href="structbmqt_1_1HostHealthState-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">Enum</a> { <a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226a87f3b1d2551753680797c336a21befd2">e_UNKNOWN</a> =  0, 
<a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226ab2935c901981c441db101a6d63f21c01">e_HEALTHY</a> =  1, 
<a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226a5a99141fac50c7a4d60ceebac5fd6e43">e_UNHEALTHY</a> =  2
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bsl::ostream &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1HostHealthState.html#a67a4053171ae7b4fc611bae10d894087">print</a> (bsl::ostream &amp;stream, <a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">HostHealthState::Enum</a> value, int level=0, int spacesPerLevel=4)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1HostHealthState.html#a8712abbeb349861912b2b055648694fe">toAscii</a> (<a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">HostHealthState::Enum</a> value)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structbmqt_1_1HostHealthState.html#ae42263d525bd954051acee6ff097972f">fromAscii</a> (<a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">HostHealthState::Enum</a> *out, const bslstl::StringRef &amp;str)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Enumeration for host health states.</p>
<p>See <a class="el" href="group__bmqt__hosthealthstate.html">Component bmqt_hosthealthstate</a> </p>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="ac6c834a9b9d675b2eb38f08f3ef6f226"></a><!-- doxytag: member="bmqt::HostHealthState::Enum" ref="ac6c834a9b9d675b2eb38f08f3ef6f226" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">bmqt::HostHealthState::Enum</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="ac6c834a9b9d675b2eb38f08f3ef6f226a87f3b1d2551753680797c336a21befd2"></a><!-- doxytag: member="e_UNKNOWN" ref="ac6c834a9b9d675b2eb38f08f3ef6f226a87f3b1d2551753680797c336a21befd2" args="" -->e_UNKNOWN</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ac6c834a9b9d675b2eb38f08f3ef6f226ab2935c901981c441db101a6d63f21c01"></a><!-- doxytag: member="e_HEALTHY" ref="ac6c834a9b9d675b2eb38f08f3ef6f226ab2935c901981c441db101a6d63f21c01" args="" -->e_HEALTHY</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="ac6c834a9b9d675b2eb38f08f3ef6f226a5a99141fac50c7a4d60ceebac5fd6e43"></a><!-- doxytag: member="e_UNHEALTHY" ref="ac6c834a9b9d675b2eb38f08f3ef6f226a5a99141fac50c7a4d60ceebac5fd6e43" args="" -->e_UNHEALTHY</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a67a4053171ae7b4fc611bae10d894087"></a><!-- doxytag: member="bmqt::HostHealthState::print" ref="a67a4053171ae7b4fc611bae10d894087" args="(bsl::ostream &amp;stream, HostHealthState::Enum value, int level=0, int spacesPerLevel=4)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bsl::ostream&amp; bmqt::HostHealthState::print </td>
          <td>(</td>
          <td class="paramtype">bsl::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>stream</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">HostHealthState::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>value</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>level</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>spacesPerLevel</em> = <code>4</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Write the string representation of the specified enumeration <code>value</code> to the specified output <code>stream</code>, and return a reference to <code>stream</code>. Optionally specify an initial indentation <code>level</code>, whose absolute value is incremented recursively for nested objects. If <code>level</code> is specified, optionally specify <code>spacesPerLevel</code>, whose absolute value indicates the number of spaces per indentation level for this and all of its nested objects. If <code>level</code> is negative, suppress indentation of the first line. If <code>spacesPerLevel</code> is negative, format the entire output on one line, suppressing all but the initial indentation (as governed by <code>level</code>). See <code>toAscii</code> for what constitutes the string representation of a <code>HostHealthState::Value</code> value. </p>

</div>
</div>
<a class="anchor" id="a8712abbeb349861912b2b055648694fe"></a><!-- doxytag: member="bmqt::HostHealthState::toAscii" ref="a8712abbeb349861912b2b055648694fe" args="(HostHealthState::Enum value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const char* bmqt::HostHealthState::toAscii </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">HostHealthState::Enum</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return the non-modifiable string representation corresponding to the specified enumeration <code>value</code>, if it exists, and a unique (error) string otherwise. The string representation of <code>value</code> matches its corresponding enumerator name with the <code>BMQT_</code> prefix elided. Note that specifying a <code>value</code> that does not match any of the enumerators will result in a string representation that is distinct from any of those corresponding to the enumerators, but is otherwise unspecified. </p>

</div>
</div>
<a class="anchor" id="ae42263d525bd954051acee6ff097972f"></a><!-- doxytag: member="bmqt::HostHealthState::fromAscii" ref="ae42263d525bd954051acee6ff097972f" args="(HostHealthState::Enum *out, const bslstl::StringRef &amp;str)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static bool bmqt::HostHealthState::fromAscii </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structbmqt_1_1HostHealthState.html#ac6c834a9b9d675b2eb38f08f3ef6f226">HostHealthState::Enum</a> *&nbsp;</td>
          <td class="paramname"> <em>out</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bslstl::StringRef &amp;&nbsp;</td>
          <td class="paramname"> <em>str</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Return true and fills the specified <code>out</code> with the enum value corresponding to the specified <code>str</code>, if valid, or return false and leave <code>out</code> untouched if <code>str</code> doesn't correspond to any value of the enum. </p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="bmqt__hosthealthstate_8h_source.html">bmqt_hosthealthstate.h</a></li>
</ul>
</div>
<hr class="footer"/><address class="footer"><small>Generated on Thu Jun 15 2023 11:58:51 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.1 </small></address>
</body>
</html>
